s][dataset=main, numbering=short]
\setupbtxlist[aps][
alternative=b,
distance=.5em,
]
\definebtx[aps:cite:special][aps:cite]
\startluacode
function render_cite(dataset, tag, righttext)
local luadata = publications.datasets[dataset].luadata
local entry = luadata[tag]
local
ot;[>" .. short .. "]")
else
context("[" .. short .. "]")
end
end
\stopluacode
\definebtx[aps:cite:special][aps:cite]
\startsetups btx:aps:cite:special
\btxcitereference
\ctxlua{render_cite([==[\btxflush{year}]==], [==[\btxflush{
[ref.buffer]
\usebtxdefinitions[apa]
\definebtx
[apa:cite:theorem]
[apa:cite]
\startsetups btx:apa:cite:theorem
\btxflushauthorname{author}
\btxcomma
\btxflush{year}
\fastsetup{btx:cite:righttext}
\stopsetups
\setupenumeration[
before={\blank[medium]},
after={\blank
Sorry, these are definitely errors on my part. The first one ("invalid
parent sbl:list:title:unpublished for sbl:list:title:thesis,
sbl:list:title:unpublished defined too") was thankfully an easy fix; I just
had to move \definebtx[sbl:\s!list:title:unpublished] before
\define
to be incorporated
into a future ConTeXt update. Regarding the specific features you described:
(1) The rules for first name-last name authorconversions and et al. limits
for inline citations (i.e., ones in the text/footnotes, but not in the
bibliographic list) can be implemented using the general
\definebtx
0=\hbox{#1\unskip}%
\ifdim\wd0=0pt
#2%
\else
#3%
\fi
}%
\usebtxdataset[bib.buffer]
\startbtxrenderingdefinitions[chicagonum]
\definebtx[chicagonum]
[default=default,
specification=chicagonum,
otherstext={\btxspace{\it\btxlabeltext{oth
recommended way to solve the problem, and I'm curious about why
the more straightforward approach doesn't work.
I've added useibid and useidem options for the \definebtx command (making them
language-dependent by adding them to mult-def.lua, which seems to be how the
other options have been imp
Betreff: [NTG-context] Ibid. and idem support for bibliographies (and
> variable scope more generally)
>
> Hi,
>
> I've found a way to implement ibid. and idem support in the SBL
> specification under development at
> https://github.com/jjmccollum/context-sbl (this e-mail essential
ts my comments in
https://github.com/jjmccollum/context-sbl/issues/5), but I'm not sure if my
solution is a recommended way to solve the problem, and I'm curious about why
the more straightforward approach doesn't work.
I've added useibid and useidem options for the \definebtx command (making t
> specification under development at
> https://github.com/jjmccollum/context-sbl (this e-mail essentially
> repeats my comments in https://github.com/jjmccollum/context-sbl/issues/5),
> but I'm not sure if my solution is a recommended way to solve the problem,
> and I'm curious
added useibid and useidem options for the \definebtx command (making them
language-dependent by adding them to mult-def.lua, which seems to be how the
other options have been implemented). Ideally, I'd like to follow the pattern
of the chicago:list:sameauthor setup and use a macro similar
way to solve the problem, and I'm curious about
why the more straightforward approach doesn't work.
I've added useibid and useidem options for the \definebtx command (making
them language-dependent by adding them to mult-def.lua, which seems to be
how the other options have been implemented). Ideally
On Wednesday, September 15, 2021 8:08:59 PM IST kauśika cittūr wrote:
> Dear all,
>
> I have a simple btx definition 'mylist' for which I have written a simple
> publ-imp-mylist.lua and publ-imp-mylist-mkvi. In that latter I have
>
> ⋮
> \definebtx
> [mylist]
> [de
On Wednesday, September 15, 2021 8:08:59 PM IST kauśika cittūr wrote:
> Dear all,
>
> I have a simple btx definition 'mylist' for which I have written a simple
> publ-imp-mylist.lua and publ-imp-mylist-mkvi. In that latter I have
>
> ⋮
> \definebtx
> [mylist]
> [de
.mkvi (where
> it seemed to fit best). But simply specifying
>
> ```
> \definebtx
> [sbl:\s!list:author]
> [sbl:\s!list]
> [\c!authorconversion=invertedfirst]
> ```
>
> in my custom rendering file does not access the invertedfirst setup,
> regardless of w
\startbtxrenderingdefinitions[iso690]
\definebtx
[iso690]
[
default=default,
specification=iso690,
]
\definebtxrendering
[iso690]
[
specification=iso690,
numbering=yes,
]
\setupbtx[default:list]
[
authorconversion=inverted
Dear all,
I have a simple btx definition 'mylist' for which I have written a simple
publ-imp-mylist.lua and publ-imp-mylist-mkvi. In that latter I have
⋮
\definebtx
[mylist]
[default=default,specification=mylist]
\definebtxrendering
[mylist]
[specification=mylist]
\setupbtxlist
Good suggestion! I removed my changes to publ-aut.lua for now and tried
adding each of the two setups you described to publ-imp-author.mkvi (where
it seemed to fit best). But simply specifying
```
\definebtx
[sbl:\s!list:author]
[sbl:\s!list]
[\c!authorconversion=invertedfirst]
```
in my
[iso690]
\definebtx
[iso690]
[
default=default,
specification=iso690,
]
\definebtxrendering
[iso690]
[
specification=iso690,
numbering=yes,
]
\setupbtx[default:list]
[
authorconversion=inverted,
]
% field definitions
I've been able to implement most of the
> features I'm interested in by using conditional formatting with a mode that
> is specifically set for citations with the "entry" alternative. I'd also
> like for author names in entry citations to be different author names in
> list en
y using conditional formatting with a mode that
>>> is specifically set for citations with the "entry" alternative. I'd also
>>> like for author names in entry citations to be different author names in
>>> list entries, in the following ways:
>>>
>&
n issue for
>>another e-mail thread, and we can just focus on normal vs. inverted for
>>now).
>>- In entry citations, "et al." should be used for any names after the
>>third name, while in list entries, all names should be printed in full.
>>
>>
; should be used for any names after the
> third name, while in list entries, all names should be printed in full.
>
> I thought that the following settings would work:
>
> \definebtx
> [sbl:\s!list]
> [sbl]
> [\c!otherstext=,
> \c!etallimit=,
> \c!etaldisplay=,
>
just focus on normal vs. inverted for now).
- In entry citations, "et al." should be used for any names after the
third name, while in list entries, all names should be printed in full.
I thought that the following settings would work:
\definebtx
[sbl:\s!list]
[sbl]
[\c!otherst
etallimit and etaldisplay parameters are set to the default values:
\definebtx
[chicago:\s!list]
[chicago]
%[\c!otherstext={\btxcomma\btxnobreakspace\textellipsis\space},
% \c!etallimit=7,
% \c!etaldisplay=6,
% \c!etaloption=last,
[\c!authorconversion=inverted]
But the definition f
021).
>
The comma is defined in l. 360-7 in publ-imp-apa.mkvi:
\definebtx
[apa:\s!cite:authoryear]
[apa:\s!cite:author]
[\c!left={(},
\c!right={)},
\c!inbetween={\btxcomma},
\c!separator:names:3={\btxcomma\textampersand\space},
\c!separator:names:4={\btxspace\textampersand\sp
]
\placelistofpublications
\stoptext
```
publ-imp-deu.mkvi
```
\startbtxrenderingdefinitions[deu]
\definebtx
[deu]
[default=default, specification=deu]
\definebtxrendering
[deu]
[specification=deu, sorttype={author,title}, numbering=num]
\definebtx
[deu:list]
[deu]
\definebtx
[default][literature.bib]
\usebtxdefinitions[deu]
\setupbtx[deu]
```
A snippet from the publ-imp-deu.mkvi:
```
\definebtx
[deu:list]
[deu]
[authorconversion=normal]
\definebtx
[deu:cite]
[deu]
[authorconversion=normalshort,
alternative=authortitle]
\startsetups
I have:
```
\usebtxdataset[default][literature.bib]
\usebtxdefinitions[deu]
\setupbtx[deu]
```
A snippet from the publ-imp-deu.mkvi:
```
\definebtx
[deu:list]
[deu]
[authorconversion=normal]
\definebtx
[deu:cite]
[deu]
[authorconversion=normalshort,
alternative=autho
[molarvolume][108-95-2,566-33-5,24599-57-3]\par
I simply get the citation details, no separator between, and no left or right.
Either of the following works for left= and right=. However inbetween= does not
activate, and similarly for separator:2, separator:3, separator:4.
\definebtx
Hi, probably my question is not a very hard one but I don't find a way
to do what I'm trying to do.
If I use \cite[authoryears] ConTeXt uses last names in the citation.
That's what I want, but I want to use another style for my task, that
I defined this way:
\definebtx[aps:cite:margin
\nocite[Tufte:1990:EI:78223]
\placelistofpublications[criterium=all]
\stoptext
On 17/05/19 10:41 PM, Dmitry Starostin wrote:
> I tried several variants, but I cannot find where exactly the switch
> happens.
>
> \definebtx[apa:list:title:incollection][apa:list:title][style=]
On Fri, 17 May 2019 14:10:03 +0200
"Thomas A. Schmitz" wrote:
> On 5/17/19 12:41 PM, Dmitry Starostin wrote:
> > I tried several variants, but I cannot find where exactly the switch
> > happens.
> >
> > \definebtx[apa:list:title:incollection][a
On 5/17/19 12:41 PM, Dmitry Starostin wrote:
I tried several variants, but I cannot find where exactly the switch
happens.
\definebtx[apa:list:title:incollection][apa:list:title][style=]
\definebtx[apa:list:title:book][apa:list:title][style=]
\definebtx[apa:list:journal][apa:list][style
I tried several variants, but I cannot find where exactly the switch
happens.
\definebtx[apa:list:title:incollection][apa:list:title][style=]
\definebtx[apa:list:title:book][apa:list:title][style=]
\definebtx[apa:list:journal][apa:list][style
To answer my own question, it must be
\usebtxdefinitions[aps]
\setupbtxlist
[aps]
[alternative=b,
after=,
before=]
\definebtx
[aps:cite:num]
[left={(},
right={)}]
\definebtx
[aps:list:numbering]
[aps:list]
[left={(},
right={)}]
Am 03.01.2018 um 09:38 schrieb Dr
vi 2017-07-31 21:24:46.860462851 +0200
@@ -58,7 +58,7 @@
\definebtx
[aps:\s!list]
[aps]
- [\c!authorconversion=normalshort]
+ [\c!authorconversion=normal]
\definebtx
[aps:\s!list:author]
@@ -1117,6 +1117,12 @@
\startsetups btx:aps:list:misc
\fastsetup{btx:aps:li
o achive this thing, but I don't know a better one.
Here is the patch, if someone is interested.
Gerion
--- publ-imp-aps.mkvi.original 2017-07-31 21:23:14.736856430 +0200
+++ publ-imp-aps.mkvi 2017-07-31 21:24:46.860462851 +0200
@@ -58,7 +58,7 @@
\definebtx
[aps:\s!list]
[aps]
- [\c!
{Normal State of the Metallic Hydrogen Sulfide},
> author = {Kudryashov, Nikolay A. and Kutukov, Alexander A. and
> Mazur, Evgeny A.},
> year = {2016},
> eprint = {1607.04624},
> archivePrefix = {arxiv}
> }
> \stopbuffer
>
> \usebtxdataset[references.buffer]
>
\usebtxdataset[references.buffer]
\usebtxdefinitions[aps]
\definebtx[aps:list:eprint][aps:list][style=\tt]
\starttexdefinition unexpanded btx:aps:eprints
\btxdoif {eprint} {
\btxstartstyleandcolor [aps:list:eprint]
\btxdoif {archivePrefix} {
\btxflush
to have the righttext
included within the brackets in authornum styles? So for
\cite[righttext={{,\,100}}][Hagen]
I want the result to look like Hagen [1, 100]. I tried
\definebtx
[default:cite:author:num] % todo
[default:cite:authornum]
[left={\btxleftbracket},
right
ithout a bibliography (\placelistofpublications)
You have to change the following definition in publ-imp-default.mkvi:
\definebtx
[\s!default:\s!list:title:article]
[\s!default:\s!list:title]
- [\c!style=, % journal is set in italics
- \c!command={\quotation\Word}]
+ [\c!style={\setcharactercas
42 matches
Mail list logo